package com.cyf.cheyichong.controller;

import com.cyf.cheyichong.commonutils.R;
import com.cyf.cheyichong.entity.User;
import com.cyf.cheyichong.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
    @RequestMapping(value = "/regist")
    public String regist() {
        return "regist";
    }
    @RequestMapping(value = "/login")
    public String login() {
        return "login";
    }
}